import 'package:library_base/entities/generated/json/base/json_field.dart';
import 'package:library_base/entities/generated/json/order_detail_entity.g.dart';
import 'dart:convert';

import 'package:library_base/entities/order_goods_res_entity.dart';



@JsonSerializable()
class OrderDetailEntity{
  late String orderNumber;
  late String addressDetail;
  late String mobilePhone;
  late String stationTime;
  late String consignee;
  late List<OrderGoodsResEntity> orderGoodsResList;

  OrderDetailEntity();

  factory OrderDetailEntity.fromJson(Map<String, dynamic> json) => $OrderDetailEntityFromJson(json);

  Map<String, dynamic> toJson() => $OrderDetailEntityToJson(this);

  @override
  String toString() => json.encode(this);

}
